package com.zhuiyun.pm.client.sc.service;

import com.zhuiyun.pm.client.sc.entity.ClientTable;
import com.zhuiyun.pm.config.CommonResult;

import java.util.List;

/**
 * 发布Service接口
 * @author 温
 * @date 2023/3/14 20:01
 * @parameter
 * @return
 */
public interface TableService {
    /**
     * 中间表查询藏品信息
     * @author 温
     * @date 2023/3/15 15:24
     * @parameter [clientTable]
     * @return java.util.List<com.zhuiyun.pm.client.sc.entity.ClientTable>
     */
    List<ClientTable>TableList(Integer userId);

    void collect(Integer userId, Integer goodsid);

    CommonResult selectCollect(Integer userId, Integer goodsid);

    void delCollect(Integer userId, Integer goodsid);
}
